<template>
  <page-wrap stay-still :bgColor="topBg" :dark="false" back hideTab title="活动详情">
    <view class="content-desc">
      <image :src="img1" class="desc-img" @click="handleCheckImg(0)"></image>
      <image :src="img2" class="desc-img"  @click="handleCheckImg(1)"></image>
    </view>
  </page-wrap>
</template>
<script>
import ShareMixin from "@/mixins/share";
export default {
  mixins: [ShareMixin],
  data() {
    return {
      topBg: `url(${this.$imgBaseSelf}home/top_bg.png)`,
      img1: `${this.$imgBaseSelf}zph/sxh/sxh-01.png`,
      img2: `${this.$imgBaseSelf}zph/sxh/sxh-02.png`,
      sharePath: "/pagesSub/activity/sxh/ContentDesc",
      shareTitle: "第28届全国高校毕业生秋季就业双选会 - 一览职业",
    };
  },
  onLoad(opt) {
    this.type = opt.type || '';
  },
  methods: {
    handleCheckImg(index) {
      uni.previewImage({
        current: index || 0,
        urls: [this.img1, this.img2],
        longPressActions: {
          itemList: ['发送给朋友', '保存图片', '收藏'],
        }
      });
    }
  },
};
</script>
<style lang="scss" scoped>
.content-desc {

  .content-text {
    width: 686rpx;
    margin: 0 auto;
    padding: 71rpx 40rpx;
    background: #FFFFFF;
    border-radius: 24rpx;
  }

  .desc-img {
    width: 100%;
    height: 414rpx;
  }

}
</style>